]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Show the session list when needed
authorMatthias Clasen <mclasen@redhat.com>
Wed, 27 Feb 2013 04:50:29 +0000 (23:50 -0500)
committerRay Strode <rstrode@redhat.com>
Wed, 27 Feb 2013 23:09:43 +0000 (18:09 -0500)
Some of the conditions for showing the user list were not
properly inverted, causing the session list to be hidden
when it shouldn't be and shown when it shouldn't be.

https://bugzilla.gnome.org/show_bug.cgi?id=694784

js/gdm/loginDialog.js

index ee366e41c6a212b69e5028a62ae78ff3b2e0348c..cd8dff5f222095efbf17ee3073b96e9616f34495 100644 (file)
@@ -753,7 +753,7 @@ const LoginDialog = new Lang.Class({
                            time: _FADE_ANIMATION_TIME,
                            transition: 'easeOutQuad' });
 
-        if (!this._user || (this._user.is_logged_in() && this._verifyingUser))
+        if ((this._user && !this._user.is_logged_in()) || this._verifyingUser)
             this._sessionList.actor.show();
 
         this._promptEntry.grab_key_focus();